import request from '@/utils/request'

// 业务统计接口
export const statisticsApi = {
  // 贷款申请统计
  getApplyStats(params) {
    return request({
      url: '/statistics/apply',
      method: 'get',
      params
    })
  },
  
  // 放款统计
  getLendingStats(params) {
    return request({
      url: '/statistics/lending',
      method: 'get',
      params
    })
  },
  
  // 还款统计
  getRepaymentStats(params) {
    return request({
      url: '/statistics/repayment',
      method: 'get',
      params
    })
  }
} 